<!doctype html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="utf-8">
<title>404财富管家</title>
<meta name="keywords" content="财富管家" />
<meta name="description" content="财富管家" />
<link rel="shortcut icon" href="images/littlelogo.png">
<link rel="icon" href="/favicon.ico" mce_href="/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" href="css/style.css"/>
<link rel="stylesheet" href="css/user.css"/>
<link href="css/iconfont/RjdaoIcon.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="http://libs.baidu.com/jquery/1.9.0/jquery.js"></script>
    <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
</head>

<body style="background-color:#f0f0f0;">

<!----header s---->
<div class="topnav">
    <div class="mainw w">
        <div class="l-txt">欢迎致电：400-1234-123 &nbsp;&nbsp; 服务时间：08:30-17:30（工作日）</div>

        <a th:href="@{/information/xinxi2}" class="dh">帮助中心</a>
        <a th:href="@{/information/xinxi3}" class="dh">新手指引</a>

    </div>
</div>
<header>
	<div class="hmain w">
      <a href="index.html" class="logo"><img src="images/logo.png"></a>
        <nav>
            <a th:href="@{/index}" >首页</a>
            <a th:href="@{/invest/list}">我要投资</a>
            <a th:href="@{/borrowCenter/index}">我要借贷</a>
            <a th:href="@{/zhongchou/list}">众筹中心</a>
            <a th:href="@{/information/xinxi1}">信息披露</a>
        </nav>
    </div>
</header>
<!----header e---->



<div class="login-banner" style="background:url(images/login_banner_bj.jpg) no-repeat center top;">
	<form action="user/reg" method="post">
		
		<div class="lomain w">
	    	<div class="wframe">
	       	  <div class="title" style="margin-top:10px;">30秒快速注册</div>
	           <!-- <input type="text" name="name" required placeholder="请输入用户名" autocomplete="off" class="input ph">-->
	            <input id="tell" type="text" name="tell" required placeholder="请输入正确的手机号码" onBlur="onBlue()" autocomplete="off" class="input ph">
	            <div id="msg" style="margin-left: 50px"></div>
                <input type="password" name="password1" required placeholder="请输入正确的密码" autocomplete="off" class="input ph">
	            <input type="password" name="password" required placeholder="再次确认密码" autocomplete="off" class="input ph">
	        	<div class="tongyi"><i class="icon-0332"></i><a>我已阅读并同意<em>《使用协议》</em>及<em>《隐私条款》</em></a></div>
	   		  	<input type="submit" class="button" onclick="return submi()" value="注   册">
	            <div class="text2"><a th:href="@{/login}">使用账号密码登录</a></div>
	        </div>
	    </div>
	</form>

</div>
<script>
    var result;
   function onBlue(){
       var fd = new FormData();
       fd.append("tell",document.getElementById("tell").value);
       axios.post('/cms/isnull',fd).then(function(res){
          // alert(res.data);
           if (res.data=="0"){
               document.getElementById("msg").innerHTML="账户已存在";
               result=false;
           } else{
               document.getElementById("msg").innerHTML="账户可以使用";
               result=true;
           }

       })
    }
    function  submi() {

        return result;

    }
</script>





<!---footer s--->
<footer style="margin-top:0px;">
	<div class="fmain w">
    	<div class="fm-top">
        	<div class="left">
            
            	<div class="ilist">
                	<h1>联系我们</h1>
                    <div class="t">客服电话</div>
                    <div class="tel">400-1234-123</div>
                    <div class="t">邮箱：quanminsat@163.com</div>
                </div>

                <div class="ilist">
                    <h1>关于我们</h1>
                    <a th:href="@{/information/jianjie}">公司简介</a>
                    <a th:href="@{/information/gonggao}">最新公告</a>
                    <a th:href="@{/information/join_us}">加入我们</a>
                </div>
            </div>
            <div class="right">
            	<div class="ewm" style="margin-left:20px;"><img src="images/gzh.jpg"><span>关注公众号</span></div>
            </div>
        </div>
          <div class="fm-bot" style="text-align: center;">
        	<span>&copy; 2018 &nbsp;全民科技有限公司 &nbsp;京ICP备：123456789号 </span>
        	<br />
            <dl>市场有风险 投资需谨慎</dl>
        </div>
    </div>
</footer>
<!---footer e--->


</body>
</html>
